//
//  NYTopicManager.h
//  Nooryes
//
//  Created by baken on 2020/3/4.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseNetManager.h"

@class NYArticleListModel,NYTopicListModel,NYTopicDetailModel,NYAccountModel;

NS_ASSUME_NONNULL_BEGIN

@interface NYTopicManager : BaseNetManager

+ (void)getTopicListWithPage:(NSString *)page andCompletionHandle:(void (^)(NYTopicListModel *model, NSError *error))complete;

+ (void)getTopicArticleWithTopicID:(NSString *)ID andPage:(NSString *)page andOrder:(NSString *)order andCompletionHandle:(void (^)(NYArticleListModel *model, NSError *error))complete;

+ (void)getTopicDetailWithTopicID:(NSString *)ID andCompletionHandle:(void (^)(NYTopicDetailModel *model, NSError *error))complete;

+ (void)getOtherUserInfoWithUserID:(NSString *)ID andCompletionHandle:(void (^)(NYAccountModel *model, NSError *error))complete;

+(void)getOtherUserArticlesWithUserID:(NSString *)ID andPage:(NSString *)page andCompletionHandle:(void (^)(NYArticleListModel * _Nonnull, NSError * _Nonnull))complete;

@end

NS_ASSUME_NONNULL_END
